/**
 * Created by Administrator on 2015/8/21.
 */
var React = require('react');
var Trade = require('./Trade');

module.exports = Trades = React.createClass({

    render: function(){
        var content = this.props.trades.map(function(trade,key){
            return (
                <Trade key={trade.tid} trade={trade} order={key} />
            )
        });

        return (
            <div className="dym-dl">{content}</div>
        )

    }

});